#if !defined(AFX_CHARTTHUMBNAILSVIEW_H__33010C98_8E87_4865_852C_16D0E7E6EAD4__INCLUDED_)
#define AFX_CHARTTHUMBNAILSVIEW_H__33010C98_8E87_4865_852C_16D0E7E6EAD4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

//*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a sample for BCGControlBar Library Professional Edition
// Copyright (C) 1998-2016 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and conditions 
// of the accompanying license agreement.
//*******************************************************************************
//
// ChartThumbnailsView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CChartThumbnailsView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

#include "BCGPChartExampleDoc.h"
#include "BCGPChartExampleView.h"

#define CHART_THUMBNAIL_NUM	11

class CChartThumbnailsView : public CBCGPChartExampleView
{
protected:
	CChartThumbnailsView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CChartThumbnailsView)

// Form Data
public:
	//{{AFX_DATA(CChartThumbnailsView)
	enum { IDD = IDD_CHART_THUMBNAILS };
	CBCGPVisualContainerCtrl m_wndContainer;
	//}}AFX_DATA

// Attributes
public:
	virtual CBCGPBaseVisualCtrl* GetCtrl()
	{
		return &m_wndContainer;
	}

	virtual BOOL IsAnimationAvailable() const
	{
		return FALSE;
	}

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChartThumbnailsView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

	virtual void UpdateChartColorTheme(int nTheme, BOOL bIsDarkTheme);
	void Repos();

// Implementation
protected:
	virtual ~CChartThumbnailsView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CChartThumbnailsView)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	afx_msg LRESULT OnChartMouseDown(WPARAM wp, LPARAM lp);
	afx_msg LRESULT OnChartMouseUp(WPARAM wp, LPARAM lp);
	DECLARE_MESSAGE_MAP()

	CBCGPChartVisualObject*	m_pCharts[CHART_THUMBNAIL_NUM];

	CBCGPChartVisualObject*	m_pClickedChart;
	CBCGPChartVisualObject*	m_pExpandedChart;

	CBCGPTextGaugeImpl*		m_pInfoText;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CHARTTHUMBNAILSVIEW_H__33010C98_8E87_4865_852C_16D0E7E6EAD4__INCLUDED_)
